package com.zw.cloud.mybatis.plus.controller.img;


import com.zw.cloud.mybatis.plus.service.api.img.IImgAttachmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 图片表 前端控制器
 * </p>
 *
 * @author zw
 * @since 2023-10-28
 */
@RestController
@RequestMapping("/img-attachment")
public class ImgAttachmentController {
    @Autowired
    private IImgAttachmentService imgAttachmentService;

    @GetMapping
    //http://localhost:8082/img-attachment
    public void batchInsert() throws Exception {
        imgAttachmentService.batchInsert();
    }
}
